package com.example.demo.level1.pojo;

import java.security.PublicKey;

/**
 * @Author: zhangyang
 * @Date: 2020/4/18 19:09
 */
public class Father {
    private String name;
    private Integer age;

    public Father(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public void say() {
        System.out.println("我是" + name);
    }

    public void say1() {
        System.out.println("我是杭州新视窗，已经成立"+age+"周年了");
    }
}
